cramfs: fix bug in using CONFIG_CRAMFS_CMDLINE
authorHeiko Schocher <[email protected]>
Tue, 3 May 2011 02:15:01 +0000 (02:15 +0000)
committerWolfgang Denk <[email protected]>
Tue, 10 May 2011 20:46:56 +0000 (22:46 +0200)
do not define own flash_info variable, instead use
the flash_info variable defined in your flash driver.

Signed-off-by: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Valentin Longchamp <[email protected]>
cc: Holger Brunck <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
common/cmd_cramfs.c

index 8c86dc5bf1a3df285a89170cd1963a043bb159d6..9060ecc58e29f4221919a123ccb5a89337c973d5 100644 (file)
@@ -43,7 +43,7 @@
 #endif
 
 #ifdef CONFIG_CRAMFS_CMDLINE
-flash_info_t flash_info[1];
+#include <flash.h>
 
 #ifndef CONFIG_CMD_JFFS2
 #include <linux/stat.h>